<!DOCTYPE html>
<html lang="zh-cn" xmlns="http://www.w3.org/1999/html" xmlns="http://www.w3.org/1999/html">
<head>
    <meta charset="UTF-8">
    <title>房屋信息系统</title>
    <link rel="stylesheet" href="css/bootstrap.min.css" />
    <script src="js/bootstrap.min.js"></script>
    <script src="js/vue.js"></script>

    <link rel="stylesheet" href="css/index.css" />



    <meta charset="utf-8">

    <script src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>
    <script src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>


</head>

<body>
<div id="wrap">
    <nav class="navbar-default navbar-fixed-top">
        <div class="container-fluid">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
                        data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="index.html">Shakespeare</a>
            </div>

            <!-- Collect the nav links, forms, and other content for toggling -->
            <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                <ul class="nav navbar-nav">
                    <li><a href="search.html">我是租客</a></li>
                    <li><a href="#">我是房东</a></li>
                </ul>
                <ul class="nav navbar-nav navbar-top navbar-right">
                    <button class="btn1" data-toggle="modal" data-target="#login">
                        登录
                    </button>
                    <button class="btn1" data-toggle="modal" data-target="#register">
                        注册
                    </button>
                </ul>

            </div><!-- /.navbar-collapse -->
        </div><!-- /.container-fluid -->
    </nav>

    <div class="container-fluid" style="padding-left: 125px;">

        <ul>
            <a href="index.html">首页</a>&emsp;/&emsp;
            <a href="orderlist.html">订单列表</a>&emsp;/&emsp;
            订单详情
        </ul>


        <div style="padding-left: 125px;">
            <div style="border:2px solid #e8e8e8;width: 800px;padding-left: 170px">

                <div>


                    <div>
                        <h3>订单信息</h3>
                        <div>
                            <label>
                                订单编号 &emsp;
                                <label>
                                    195720180503-223
                                </label>
                            </label>
                        </div>

                        <div>
                            <span>
                                入住时间 &emsp;
                                <lable>2018-05-23</lable>

                                    <span style="padding-left: 80px">
                                    退租时间 &emsp;
                                        <lable>2018-11-23</lable>
                                </span>
                            </span>
                        </div>
                        <div style="padding-left: 28px">
                            <span>
                                租期 &emsp;
                                <lable>6</lable>个月
                            </span>
                        </div>

                        <div style="padding-top:5px;padding-left: 28px">
                            <span>
                                租金 &emsp;
                                    <lable>740</lable>元/每月
                                 <span style="padding-left: 110px">
                                     押金 &emsp;
                                    <lable>740</lable>元
                                 </span>
                            </span>
                        </div>

                        <div>
                            <span>
                                支付金额 &emsp;
                                <lable>1480</lable>元
                            </span>
                        </div>
                    </div>


                    <br>

                    <div>
                        <h3>房屋信息</h3>
                        <div>
                            <div>
                                小区名称 &emsp;
                                <lable>二期公寓</lable>&emsp;
                            </div>
                            <div>
                                详细地址 &emsp;
                                <lable>上海市松江区文汇路300弄16号楼5023室</lable>&emsp;
                            </div>
                            <div>
                                出租类型 &emsp;
                                <lable>整租</lable>&emsp;
                            </div>
                            <div>
                                房东姓名 &emsp;
                                <lable>董道理</lable>&emsp;
                                <a style="font-size: x-small" href="#">点击聊天</a>
                            </div>

                            <div style="padding-left: 28px">
                            <span>
                                手机 &emsp;
                                <lable>15818181888</lable>
                            </span>
                            </div>
                        </div>





                    </div>
                    <br>
                    <div>

                        <h3>操作</h3>

                        <div>&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;
                            <a href="ShuiDianMei/ShuiDianMei.html">
                                <button type="button" class="btn btn-primary" data-target="#">
                                    生活缴费
                                </button>
                            </a>
                            <a href="orderlist.html">
                            <button class="btn btn-primary" data-toggle="modal" data-target="#rent">
                                续租
                            </button>
                            </a>

                        </div>
                        <br>



                    </div>





                </div>

            </div>



        </div>


    </div>
</div>
</div>
<br>
<div class="footer">
    <div class="container" style="padding: 20px;">
        <p class="muted credit">Produced By Morroc.</p>
    </div>
</div>

<!-- 模态框（Modal） -->
<div class="modal fade" id="login" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                    &times;
                </button>
                <h4 class="modal-title" id="myModalLabel">
                    用户登录
                </h4>
            </div>
            <div class="modal-body">
                <div class="main">
                    <center><div class="btn-group" data-toggle="buttons">
                        <label class="btn btn-primary1" id="op1">
                            <input type="radio" name="options"> 我是租客
                        </label>
                        <label class="btn btn-primary1" id="op2">
                            <input type="radio" name="options"> 我是房东
                        </label>
                    </div></center>
                    <br>
                    <div class="form-group">
                        <label>用户名
                            <input type="text" class="form-control"/>
                        </label>
                    </div>
                    <div class="form-group">
                        <label>密码
                            <input type="password" class="form-control"/>
                        </label>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭
                    </button>
                    <button type="button" class="btn btn-primary">
                        登录
                    </button>
                </div>
            </div><!-- /.modal-content -->
        </div><!-- /.modal -->
    </div>
</div>

<div class="modal fade" id="register" index="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                    &times;
                </button>
                <h4 class="modal-title">
                    新用户注册
                </h4>
            </div>
            <div class="modal-body">
                <div class="main">
                    <div class="center">
                        <center> <div class="btn-group" data-toggle="buttons">
                            <label class="btn btn-primary1"  id="option1">
                                <input type="radio" name="options"> 我是租客
                            </label>
                            <label class="btn btn-primary1" id="option2">
                                <input type="radio" name="options"> 我是房东
                            </label>
                        </div></center>
                        </br>
                        <div class="form-group">
                            <label>用户名
                                <input type="text" class="form-control" />
                            </label>
                        </div>
                        <div class="form-group">
                            <label>密码
                                <input type="password"  class="form-control"/>
                            </label>
                        </div>
                        <div class="form-group">
                            <label>确认密码
                                <input type="password"  class="form-control"  placeholder=""/>
                            </label>
                        </div>
                        <div class="form-group">
                            <label>姓名
                                <input type="text" class="form-control"/>
                            </label>
                        </div>

                        <div class="form-group">
                            <label>身份证号码
                                <input type="text" class="form-control"/>
                            </label>
                        </div>

                        <div class="form-con">
                            <label>手机号
                                <input type="text"   class="form-control"/>
                            </label>
                        </div>
                    </div>
                </div>
                <br>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭
                    </button>
                    <button type="button" class="btn btn-primary">
                        注册
                    </button>
                </div>
            </div><!-- /.modal-content -->
        </div><!-- /.modal -->
    </div>
</div>


<!-- /.我要租房 -->
<div class="modal fade" id="rent" index="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                    &times;
                </button>
                <h4 class="modal-title">
                    我要租房
                </h4>
            </div>
            <div class="modal-body">
                <div style="padding-left: 180px">
                    <div class="center">
                        <div>
                            <div>
                                <span>
                                    入住时间 &emsp;
                                    <label>
                                        <form action="/example/html5/demo_form.asp" method="get">
                                            <input type="date"/>
                                        </form>
                                        </lable>
                                </span>
                            </div>
                            <div>
                                <span>
                                    退租时间 &emsp;
                                    <label><form action="/example/html5/demo_form.asp" method="get">
                                                <input type="date"/>
                                        </form>
                                        </lable>
                                </span>
                            </div>

                            <div>
                                <span>
                                    &emsp; &emsp;租期 &emsp;
                                    <label>9</lable>个月
                                </span>
                            </div>
                            <div>
                                <span>
                                    &emsp; &emsp;租金 &emsp;
                                    <label>9999</lable>元/每月
                                </span>
                            </div>
                            <div>
                                <span>
                                    &emsp; &emsp;押金 &emsp;
                                    <label>1000</lable>元
                                </span>
                            </div>
                            <div>
                                <span>
                                    &emsp; 总金额 &emsp;
                                    <label>9999</lable>元
                                </span>
                            </div>



                        </div>

                    </div>
                </div>
                <br>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭
                    </button>
                    <button type="submit" class="btn btn-primary">
                        确定
                    </button>
                </div>
            </div><!-- /.modal-content -->
        </div><!-- /.modal -->
    </div>
</div>



<script>
    var op1 = document.getElementById('op1');
    var op2 = document.getElementById('op2');
    op1.onclick = function() {
        this.style.backgroundColor = '#337ab7';
        this.style.color = 'white';
        op2.style.backgroundColor = '#F8F8F8';
        op2.style.color = 'black';
    };
    op2.onclick = function() {
        this.style.backgroundColor = '#337ab7';
        this.style.color = 'white';
        op1.style.backgroundColor = '#F8F8F8';
        op1.style.color = 'black';
    };

    var option1 = document.getElementById('option1');
    var option2 = document.getElementById('option2');
    option1.onclick = function() {
        this.style.backgroundColor = '#337ab7';
        this.style.color = 'white';
        option2.style.backgroundColor = '#F8F8F8';
        option2.style.color = 'black';
    };
    option2.onclick = function() {
        this.style.backgroundColor = '#337ab7';
        this.style.color = 'white';
        option1.style.backgroundColor = '#F8F8F8';
        option1.style.color = 'black';
    }
</script>



</body>
</html>